package com.bp.village.assets.domain;

import java.math.BigDecimal;

import com.bp.village.enums.EnumsBuildingUseStatus;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bp.common.annotation.Excel;
import com.bp.common.core.domain.BaseEntity;

/**
 * 村级房屋资产管理对象 biz_village_assets_building
 * 
 * @author shaominjie
 * @date 2021-01-29
 */
public class BizVillageAssetsBuilding extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long buildingId;

    /** 所属区域 */
    @Excel(name = "所属区域")
    private Long regionId;

    /** 名称 */
    @Excel(name = "名称")
    private String buildingName;

    /** 建设内容 */
    private String buildingDesc;

    /**
     * 类型
     * @see com.bp.village.enums.EnumsBuildingCategory
     * */
    private Integer category;

    /**
     * 类别
     * @see com.bp.village.enums.EnumsOfficeBuildingType
     *  */
    @Excel(name = "类别")
    private Integer type;

    /** 来源
     * @see com.bp.village.enums.EnumsBuildingSourceFrom
     *  */
    @Excel(name = "来源")
    private Integer sourceFrom;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /**
     * 使用状态
     * @see EnumsBuildingUseStatus
     * */
    @Excel(name = "使用状态")
    private Integer useStatus;

    /** 使用者 */
    @Excel(name = "使用者")
    private String buildingUser;

    /**
     * 是否入账
     * @see
     * */
    @Excel(name = "是否入账")
    private Integer inFinance;

    /** 价值 */
    @Excel(name = "价值")
    private BigDecimal worth;

    /** 协议文件编号集合 */
    private String protocolFileIds;

    /** 实景图编号集合 */
    private String buildingPicIds;

    public void setBuildingId(Long buildingId) {
        this.buildingId = buildingId;
    }

    public Long getBuildingId(){
        return buildingId;
    }
    public void setRegionId(Long regionId) {
        this.regionId = regionId;
    }

    public Long getRegionId(){
        return regionId;
    }
    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getBuildingName(){
        return buildingName;
    }
    public void setBuildingDesc(String buildingDesc) {
        this.buildingDesc = buildingDesc;
    }

    public String getBuildingDesc(){
        return buildingDesc;
    }
    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getCategory(){
        return category;
    }
    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getType(){
        return type;
    }
    public void setSourceFrom(Integer sourceFrom) {
        this.sourceFrom = sourceFrom;
    }

    public Integer getSourceFrom(){
        return sourceFrom;
    }
    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress(){
        return address;
    }
    public void setUseStatus(Integer useStatus) {
        this.useStatus = useStatus;
    }

    public Integer getUseStatus(){
        return useStatus;
    }
    public void setBuildingUser(String buildingUser) {
        this.buildingUser = buildingUser;
    }

    public String getBuildingUser(){
        return buildingUser;
    }
    public void setInFinance(Integer inFinance) {
        this.inFinance = inFinance;
    }

    public Integer getInFinance(){
        return inFinance;
    }
    public void setWorth(BigDecimal worth) {
        this.worth = worth;
    }

    public BigDecimal getWorth(){
        return worth;
    }
    public void setProtocolFileIds(String protocolFileIds) {
        this.protocolFileIds = protocolFileIds;
    }

    public String getProtocolFileIds(){
        return protocolFileIds;
    }
    public void setBuildingPicIds(String buildingPicIds) {
        this.buildingPicIds = buildingPicIds;
    }

    public String getBuildingPicIds(){
        return buildingPicIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("buildingId", getBuildingId())
            .append("regionId", getRegionId())
            .append("buildingName", getBuildingName())
            .append("buildingDesc", getBuildingDesc())
            .append("category", getCategory())
            .append("type", getType())
            .append("sourceFrom", getSourceFrom())
            .append("address", getAddress())
            .append("useStatus", getUseStatus())
            .append("buildingUser", getBuildingUser())
            .append("inFinance", getInFinance())
            .append("worth", getWorth())
            .append("protocolFileIds", getProtocolFileIds())
            .append("buildingPicIds", getBuildingPicIds())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
